<?php

namespace App\Library\Traits\Orm;

use App\Models\ShopUserModel;
use Illuminate\Database\Eloquent\Relations\HasOne;

trait InviteCertificationTrait
{
    public function userInfo(): HasOne
    {
        return $this->hasOne(ShopUserModel::class, 'user_id', 'user_id');
    }
}
